fix(release): use if/else for protoc install, add apt-get update for aarch64#56
fix(release): use if/else for protoc install, add apt-get update for aarch64#56
Conversation
…aarch64 The || chain causes both dnf and yum to run on x86_64 manylinux (AlmaLinux 8 has yum as alias for dnf) — both complete, then apt-get is tried and fails with 'command not found'. The aarch64 rust-cross container is Debian-based and requires apt-get update before install (stale package list = 404 errors). Use if/else: dnf for manylinux x86_64, apt-get for aarch64 cross. Closes #55
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe release workflow's embedded wheel build step was modified to use ChangesRelease Workflow CI Configuration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related issues
Possibly related PRs
✨ Finishing Touches🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. 👉 Get your free trial and get 200 agent minutes per Slack user (a $50 value). Review rate limit: 4/5 reviews remaining, refill in 12 minutes. Comment |
|



Summary
Root cause of
Build embedded / aarch64 (ubuntu-latest)failures across v1.0.0–v1.0.2:v1.0.0–v1.0.1: QEMU action SHA broken (fixed in #50)
v1.0.1:
dnfnot found →apt-get404 (stale package list, fixed in #53 but incomplete)v1.0.2:
||chain causes bothdnfANDyumto run (AlmaLinux 8 hasyumas alias fordnf) — both succeed, thenapt-gettried and fails with "command not found" inside the manylinux x86_64 containerFix: replace
||chain withif/else:dnfpresent → manylinux x86_64 (AlmaLinux 8) →dnf installapt-get update && apt-get installCloses #55